#ifndef INTERP_RETURN_H
#define INTERP_RETURN_H

#define INTERP_OK 0
#define INTERP_EXIT 1
#define INTERP_EXECUTE_FINISH 2
#define INTERP_ENDFILE 3

#define INTERP_NOT_HANDLE 4
#define INTERP_SYNCH 5  // added by zxqi, to synchronize with execution
#define INTERP_WAIT 6

#define INTERP_FILE_NOT_OPEN 7
#define INTERP_ERROR 8

#define INTERP_SUB_FILE 9

#define INTERP_LOOP_NESTING_ERROR 10

#define INTERP_SUB_FILE_NOT_OPEN 11

/*
The return values OK, EXIT, EXECUTE_FINISH, and ENDFILE represent
normal, non-error return conditions. FILE_NOT_OPEN is the first
value that represents an error result. INTERP_MIN_ERROR
is therefore the index of the last non-error return value.
*/

#define INTERP_MIN_ERROR 7

#endif /* INTERP_RETURN_H */
